package top.chengdongqing.mishop.repositories

import org.springframework.data.domain.Pageable
import org.springframework.data.jpa.repository.JpaRepository
import top.chengdongqing.mishop.entities.Video

interface VideoRepository : JpaRepository<Video, Int> {

    fun findAllByEnabledTrue(pageable: Pageable): List<Video>
}